#ifndef _IMP_WANG_DEF_H
#define _IMP_WANG_DEF_H

#define EOK 0


typedef uint16_t netif_nsc_reason_t;


// /** @ingroup netif
//  * Argument supplied to netif_ext_callback_fn.
//  */
// typedef union {
// 	/** Args to LWIP_NSC_LINK_CHANGED callback */
// 	struct link_changed_s {
// 		/** 1: up; 0: down */
// 		u8_t state;
// 	} link_changed;
// 	/** Args to LWIP_NSC_STATUS_CHANGED callback */
// 	struct status_changed_s {
// 		/** 1: up; 0: down */
// 		u8_t state;
// 	} status_changed;
// 	/** Args to LWIP_NSC_IPV4_ADDRESS_CHANGED, LWIP_NSC_IPV4_GATEWAY_CHANGED,
// 	 * LWIP_NSC_IPV4_NETMASK_CHANGED and LWIP_NSC_IPV4_SETTINGS_CHANGED callback
// 	 */
// 	struct ipv4_changed_s {
// 		/** Old IPv4 address */
// 		const ip_addr_t* old_address;
// 		const ip_addr_t* old_netmask;
// 		const ip_addr_t* old_gw;
// 	} ipv4_changed;
// 	/** Args to LWIP_NSC_IPV6_SET callback */
// 	struct ipv6_set_s {
// 		/** Index of changed IPv6 address */
// 		char* addr_index;
// 		/** Old IPv6 address */
// 		const ip_addr_t* old_address;
// 	} ipv6_set;
// 	/** Args to LWIP_NSC_IPV6_ADDR_STATE_CHANGED callback */
// 	struct ipv6_addr_state_changed_s {
// 		/** Index of affected IPv6 address */
// 		char* addr_index;
// 		/** Old IPv6 address state */
// 		u8_t old_state;
// 		/** Affected IPv6 address */
// 		const ip_addr_t* address;
// 	} ipv6_addr_state_changed;
// } netif_ext_callback_args_t;




#endif // _IMP_WANG_DEF_H
